package com.gzbugu.bugusys.action;

import org.apache.struts2.ServletActionContext;
import org.springframework.stereotype.Controller;

import com.opensymphony.xwork2.ActionSupport;
@Controller
public class LogoutAction extends ActionSupport {

	private static final long serialVersionUID = 1L;
	
	public String execute() {
		ServletActionContext.getRequest().getSession().removeAttribute("passport");
		return SUCCESS;
	}
}
